/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tests;

import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;
import pubsub.Subscriber;
import pubsub.WSNotifier;
import java.util.Set;
import java.util.HashSet;
import java.util.Collection;
import java.util.Date;
import topics.v2004_06.TopicsConstants;

/**
 *
 * Shows normal subscriber who has to remember all notifiers from which it recieves notifications.
 * 
 * 
 */
public class TestNotificationTimeSubscriber implements Subscriber{

    long id;
    
    @Override
    public void notify(Object rawMsg) {
        
        System.out.println(id+ " notified at: "+System.nanoTime());     
    }
    
    TestNotificationTimeSubscriber(long id){
        super();
        this.id = id;
    }
    
}   
